package com.jy.wms.service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.jy.wms.common.base.BaseService;
import com.jy.wms.dao.LoginMapper;
import com.jy.wms.pojo.SysUser;
import org.springframework.stereotype.Service;


/**
 * @ClassName: LoginService
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @Author zzp
 * @Date 2017/8/14 10:06
 */
@Service
public class LoginService extends BaseService<LoginMapper,SysUser> {
    public Page<SysUser> baseList(){
        EntityWrapper ew=new EntityWrapper();
        PageHelper.startPage(0,1);
        return (Page<SysUser>) dao.selectList(ew.orderBy("id"));
    }
}
